package com.ljy.farm.datasource.mappers;

import com.ljy.farm.datasource.entities.Functions;
import com.ljy.farm.datasource.entities.FunctionsExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface FunctionsMapper {

    int countByExample(FunctionsExample example);


    int deleteByExample(FunctionsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Functions record);

    int insertSelective(Functions record);


    List<Functions> selectByExample(FunctionsExample example);


    Functions selectByPrimaryKey(Long id);


    int updateByExampleSelective(@Param("record") Functions record, @Param("example") FunctionsExample example);


    int updateByExample(@Param("record") Functions record, @Param("example") FunctionsExample example);


    int updateByPrimaryKeySelective(Functions record);

    int updateByPrimaryKey(Functions record);
}